package com.hxd.otc.module.coin_deal.bean;

import java.util.List;

/**
 * 包  名 :  com.hxd.otc.module.coin_deal.bean
 * 类  名 :  CoinDealResultBean
 * 作  者 :  胡庆岭
 * 时  间 :  2018/7/9 16:39
 * 描  述 :  ${挂单Bean}
 */
public class CoinDealResultBean {

    public List<DataBean> list;

    public static class DataBean {

        /**
         * 挂单类型：卖出
         */
        public static final int ENTRY_ORDERS_TYPE_SALE = 0;
        /**
         * 挂单类型：买入
         */
        public static final int ENTRY_ORDERS_TYPE_BUY = 1;

        public double amount;// 发布数量
        public String createTime;//创建时间
        public String id;//币币交易广告id
        public String nickName;//用户昵称
        public double price;// 价格
        public double restAmount;// 剩余数量
        public int selfInd;//是否为自己的广告:0.是，1.否
        public int status;// 状态：0.正常，1.已删除
        public int type;//买卖类型：0.卖出，1.买入
        public String updateTime;//修改时间
        public String userId;//用户id
        public String currency ;// 币种
        public String transPair ;// 币种
        public int sellStatus ;// 币种

        public String getTransPair() {
            return transPair;
        }

        public void setTransPair(String transPair) {
            this.transPair = transPair;
        }

        public int getSellStatus() {
            return sellStatus;
        }

        public void setSellStatus(int sellStatus) {
            this.sellStatus = sellStatus;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getRestAmount() {
            return restAmount;
        }

        public void setRestAmount(double restAmount) {
            this.restAmount = restAmount;
        }

        public int getSelfInd() {
            return selfInd;
        }

        public void setSelfInd(int selfInd) {
            this.selfInd = selfInd;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        @Override
        public String toString() {
            return "MyEntryOrdersBean{" +
                    "amount=" + amount +
                    ", createTime='" + createTime + '\'' +
                    ", id='" + id + '\'' +
                    ", nickName='" + nickName + '\'' +
                    ", price=" + price +
                    ", restAmount=" + restAmount +
                    ", selfInd=" + selfInd +
                    ", status=" + status +
                    ", type=" + type +
                    ", updateTime='" + updateTime + '\'' +
                    ", userId='" + userId + '\'' +
                    '}';
        }
    }
}
